

export const SUCCESS = 0;
export const ERROR = -1;


export const U_COMM_FRAME_START = '$';
export const REV_CMD_DATA_LEN = 9;

export const Protocol = {
	CMD_HEART_BIT: 11, //0x0B
	
	CMD_LOCK_HAEDING: 15, //0x0F
	CMD_LOW_POWER: 17, //0x11
	CMD_RETURN_HOME: 19, //0x13
	CMD_TAKE_OFF: 1,
	CMD_STOP: 2,
	CMD_EMERGENCY_STOP: 3,
	CMD_SERVO_MOTOR_CONTROL:4,
	CMD_SET_FP_SENSITIVITY:20,//浮漂灵敏度设置
	
	CMD_OPEN_RTMP:40,
	CMD_CLOSE_RTMP:41,
	CMD_TRACK_FP:42,
	CMD_UNTRACK_FP:43,
	CMD_MOVE_CAMERA:44,
	CMD_AUTO_FISH:45,
	CMD_ROD_UP_DOWN:46,
	CMD_FISH_WIRE:47,
	
	CMD_SHIFT_CONTROL_MODE:80, //0x50
	CMD_DRIVE_ALL_ANGLE:85, //0x55
}